例文
- This approach is not usable in most garbage collected languages notably tracing garbage collectors or more advanced reference counting due to finalization being non-deterministic, and sometimes not occurring at all.
- Memory allocation in a garbage collected language may be implemented using heap allocation behind the scenes ( rather than simply incrementing a pointer ), so the performance advantages listed above don't necessarily apply in this case.